package com.twu.biblioteca;

import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;

public class ConsoleHandler {

    public void printLineMsg(String message){
        System.out.println(message);
    }

    public void printMsg(String message){
        System.out.print(message);
    }

    public String readLineMsg(){
        try {
            BufferedReader inputReader = new BufferedReader(new InputStreamReader(System.in));
            String inputMsg = inputReader.readLine();
            return inputMsg;
        } catch (IOException e) {
            return "";
        }
    }
}
